import request from '@/utils/request'

// 查询设备围栏信息列表
export function listdeviceFenceInfo(query) {
  return request({
    url: '/business/deviceFenceInfo/list',
    method: 'get',
    params: query
  })
}

// 查询设备围栏信息详细
export function getdeviceFenceInfo(id) {
  return request({
    url: '/business/deviceFenceInfo/' + id,
    method: 'get'
  })
}

// 新增设备围栏信息
export function adddeviceFenceInfo(data) {
  return request({
    url: '/business/deviceFenceInfo',
    method: 'post',
    data: data
  })
}

// 修改设备围栏信息
export function updatedeviceFenceInfo(data) {
  return request({
    url: '/business/deviceFenceInfo',
    method: 'put',
    data: data
  })
}

// 删除设备围栏信息
export function deldeviceFenceInfo(id) {
  return request({
    url: '/business/deviceFenceInfo/' + id,
    method: 'delete'
  })
}

// 导出设备围栏信息
export function exportdeviceFenceInfo(query) {
  return request({
    url: '/business/deviceFenceInfo/export',
    method: 'get',
    params: query
  })
}